package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.AdSensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.pojos.wemedia.WmSensitive;

public interface AdSensitiveService extends IService<WmSensitive> {
    /**
     * 敏感词查询列表
     * @param sensitiveDto
     * @return
     */
    ResponseResult pageQuery(AdSensitiveDto sensitiveDto);

    /**
     * 敏感词新增
     * @param wmSensitive
     * @return
     */
    ResponseResult saveSensitive(WmSensitive wmSensitive);

    /**
     * 敏感词修改
     * @param sensitiveDto
     * @return
     */
    ResponseResult updateSensitive(AdSensitiveDto sensitiveDto);

    /**
     * 敏感词删除
     * @param id
     * @return
     */
    ResponseResult del(Integer id);




}